package com.ticket.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ticket.common.annotation.Excel;
import com.ticket.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_nation
 * 
 * @author ruoyi
 * @date 2024-02-04
 */
public class TNation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 父id */
    @Excel(name = "父id")
    private Long pid;

    /** 0省1市2区/县3镇 */
    @Excel(name = "0省1市2区/县3镇")
    private String deep;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 全称呼 */
    @Excel(name = "全称呼")
    private String extName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setDeep(String deep) 
    {
        this.deep = deep;
    }

    public String getDeep() 
    {
        return deep;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setExtName(String extName) 
    {
        this.extName = extName;
    }

    public String getExtName() 
    {
        return extName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("deep", getDeep())
            .append("name", getName())
            .append("extName", getExtName())
            .toString();
    }
}
